<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use App\Models\Shijiindex as sj;
class SelectShiJiOptionController extends Controller
{
    //
    public function get (Request $request){


       $data = sj::get();

       foreach ($data as $val){

           $r[$val->id]=$val->title;
       }
       dd($r);

    }
}
